/*
 * Copyright (c) 2022-present Charles7c Authors. All Rights Reserved.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package cn.matezk.dms.things.model.req;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import top.continew.starter.extension.crud.model.req.BaseReq;

import java.io.Serial;
import java.util.Date;

/**
 * 创建或修改物联网卡
 *
 * @author 程道林
 * @since 2025/08/28 10:59
 */
@Data
@Schema(description = "创建或修改物联网卡")
public class SimCardReq extends BaseReq {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 应用ID
     */
    @Schema(description = "应用ID")
    private String appId;

    /**
     * 场景名称
     */
    @Schema(description = "卡商")
    private String platform;

    /**
     * 物联网卡号
     */
    @Schema(description = "物联网卡号")
    private String iccid;

    /**
     * 套餐
     */
    @Schema(description = "套餐")
    private String pkgName;

    /**
     * 可用流量(MB)
     */
    @Schema(description = "可用流量")
    private Integer usableFlow;

    /**
     * 已用流量(MB)
     */
    @Schema(description = "已用流量")
    private Integer usedFlow;

    /**
     * 激活日期
     */
    @Schema(description = "激活日期")
    private Date activeDate;

    /**
     * 到期日期
     */
    @Schema(description = "到期日期")
    private Date expireDate;

    /**
     * 同步日期
     */
    @Schema(description = "同步日期")
    private Date syncTime;
}